home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ShareWare OnLine 2
/
ShareWare OnLine Volume 2 (CMS Software)(1993).iso
/
bbsdoors
/
ckit258.zip
/
CKIT_TC.ZIP
/
BCC_CPP.MAK
next >
Wrap
Makefile
|
1993-06-01
|
1KB
|
50 lines
# Turbo C make file for CKIT
#
# You will need to set some paths below for TLINK and
# set you memory model below to MODEL=s or MODEL=m for
# whichever memory model you are using. (small or medium)
#
# Must have this MACRO defined for CKITDEMO to compile correctly
# This is only necassary when compiling the CKITDEMO.C program
# since it was designed to be compiled with MSC or TURBO C.
# (the -DCOMPILER switch in ckitdemo.mak)
# Memory model to use
MODEL=s
# compiler flags, MUST use the -a flag for WORD alignment!
# These flags are set for NO stack checking, WORD alignment, compile only,
# standard stack frame. Macro COMPILER is used CKITDEMO.C
CFLAGS=-m$(MODEL) -N- -r- -v- -M- -c -k -y- -I..\INCLUDE -DCOMPILER=TURBOC
BCC=BCC $(CFLAGS)
# Library locations
LIB=..\LIB
#General inference rules
#Rule to make .OBJ from .C files
.C.OBJ:
$(BCC) $*.C
# Rule to make executable
OBJLIST=ckitdemo.obj
ckitdemo.exe: $(OBJLIST)
# I could not get TLINK to look in the enviroment for LIB paths
# or get BCC to include the info. for TLINK to use the LIB files
# needed. I had to include the paths\filenames on the cmd line
# below so you will need to modify them for you paths etc.
TLINK /l /m /v $(LIB)\c0$(MODEL) $(OBJLIST), ckitt$(MODEL).exe,, \
$(LIB)\c$(MODEL) $(LIB)\ckit_t$(MODEL) $(LIB)\math$(MODEL) $(LIB)\emu
# Dependencies for obj files
ckitdemo.obj: ckitdemo.c ckitdemo.h ckit.h